﻿CREATE PROCEDURE [dbo].[proc_Finance_Bank_Update]
	(
		@TypeId int,
		@InitialMoney numeric(18,2),
		@OpenBank nvarchar(50),
		@AccountName nvarchar(50),
		@AccountCartId nvarchar(50),
		@UserName nvarchar(50),
		@BId uniqueidentifier,
		@PaymentTypeId INT,
		@PaymentTypeName NVARCHAR(50)
	)
AS
begin
	Update Finance_Bank Set
	TypeId=@TypeId,
	InitialMoney=@InitialMoney,
	OpenBank=@OpenBank,
	AccountName=@AccountName,
	AccountCartId=@AccountCartId,
	UserName=@UserName
	,PaymentTypeId = @PaymentTypeId,
	PaymentTypeName = @PaymentTypeName
	Where BId=@BId
end
	RETURN
